package com.chixing.day17_reflect_thread.thread;

public class TestChar {
    public static void main(String[] args) {
        //1.主线程  main线程
        int a;

        String threadName = Thread.currentThread().getName();//main
        System.out.println(threadName);

        CharThread charThread = new CharThread();//初始化线程
        NumberThread numberThread = new NumberThread();
        OddThread oddThread = new OddThread();
        EvenThread evenThread = new EvenThread();

        charThread.start();//启动线程
        numberThread.start();
        oddThread.start();
        evenThread.start();
    }
}
